NetworkVariable
Constructor
NetworkVariable has 3 overloads.
NetworkVariable(byte, T)
Creates a new network variable with a default value.
Parameters
Parameter | Description |
---|---|
byte id | Manually assign an ID. This ID is used to identify variables for a give |
T initialValue | The default value when the network object is created |